﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="upload.aspx.cs" Inherits="Score_School_ForManage_upload" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
    <link href="../../../Common/css/main.css" rel="stylesheet" type="text/css" />
         <script type="text/javascript" src="../../../Common/js/jquery.js"></script>
    <script type="text/javascript" src="../../../Common/js/common.js"></script>
    <script type="text/javascript" src="../../../Common/js/msg.js"></script>  
    <script type="text/javascript"  language=javascript>
        function onOkclick()
        {
            if(document.getElementById("FileUpload1").value=="")
            {
                showMassgeBox("提示","请选择文件！",2,null);
            }
            else
            {
                document.getElementById("Button1").click();
            }
        }
    </script>  
</head>
<body scroll=no>
    <form id="form1" runat="server">
<div id="upInputPop" class="layoutWarp" style="width:350px;height:200px;overflow:hidden;border-width:0px;">
    <table border="0" class="layoutTable" >
        <tr>
            <td width="320" align="left" style="padding-top:5px;padding-left:5px;">1. 您可以从Excel文件导入该班成绩</td>
        </tr>
        <tr>
            <td width="320" align="left" style="padding-top:5px;padding-left:5px;">2. <a onclick="parent.GetExcel()"><u>获得本班的Excel导入模版</u></a></td>
        </tr>
        <tr>
            <td width="320" align="left" style="padding-top:5px;padding-left:5px;">3. 导入学生成绩后，原有的分数将被覆盖</td>
        </tr>
        <tr>
            <td width="320" align="left" style="padding-top:5px;padding-left:5px;">4. 选择导入文件:<asp:FileUpload ID="FileUpload1" runat="server" /></td>
        </tr>
        <tr>
            <td colspan ="2">
            <div align="center">
            <input name="btnOK" type="button" class="commonBut" style="padding-top:2px;" id="btnOK" onclick="onOkclick();" value="确定"   />
            <input name="btnCancel" type="button" class="commonBut"style="padding-top:2px;" id="btnCancel"  onclick="return parent.ClosePopForm('upInputPop')" value="取消" />
            <input name="btnOK" type="button" class="commonBut" style="padding-top:2px;display:none;" id="Button1" onclick="onOkclick();" value="确定" onserverclick="btnReqClsOK_ServerClick" runat="server" />
            </div></td>
        </tr>
    </table>
    </div>
    </form>
</body>
</html>
